/*
 * %W% %E%
 *
 * Copyright (c)
 */
package com.shareinfo.admin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName: HelloWorldController
 * @Description: TODO
 * @author Huangpeng@shareinfo.com.cn
 * @date 2013年8月22日 下午5:53:27
 * 
 */
@Controller
public class HelloWorldController {
	@RequestMapping("/spring/helloWorld")
	public String helloWorld(Model model) {
		model.addAttribute("message", "Hello World!");
		return "helloWorld";
	}

	@RequestMapping("/spring/hello")
	public String hello(Model model) {
		model.addAttribute("message", "Hello World!");
		return "hello";
	}

	@RequestMapping("/spring/test")
	public String test(Model model) {
		model.addAttribute("message", "Hello World!");
		return "test";
	}
}
